
<div id="wrapper-content">
<table class="titrepage" width="100%">
    <tr>              
     <td >La liste des accueils contenus</td>
    </tr>
 </table>

<table class="list"   width="100%">
    <thead>
        <tr>
            <th width="110px">Titre</th>
            <th width="110px">Description</th>
            <th width="100px">Modification</th>
        </tr> 
        <?php foreach($query as $aRow):?>      
            <tr>
                <td><?php echo $aRow['titre'];?></td>
                <td><?php echo $aRow['description'];?></td>
                <td><a href="<?php echo site_url('SB_admin/modifier_contenu').'/'.$aRow['id'];?>"><img border="0"src="<?php echo base_url()?>assets/admin/images/modifier.png"/></a></td> 
            </tr>
            <?php endforeach;?>
    </thead> 
    <tbody>
    </tbody>
</table>

<div class="bajouter" align="center">Ajouter un contenu</div>
<div style="margin:10px 0px 10px 0px;display:none;">
<form   method="POST" id="formcheck" action="<?php echo site_url('SB_admin/add_contenu')?>" enctype="multipart/form-data">
<table width="100%" id="formactu" cellpadding="10px" cellspacing="0">
            <tr>
                <td><span>TITRE </span></td>
                <td><input class="medium" type="text" name="titre" ></td>
            </tr>
            <tr>
                <td><span>PAGE </span></td>
                <td><input class="medium" type="text" name="page" readonly="readonly" value="accueil" ></td>
            </tr>
            <tr>
                <td><span>DESCRIPTION </span></td>
                <td>
                <?php                                                                 
                    $data = array('name' => 'txtDes',
                    'id' => 'txtDes',
                    'width' => '600',
                    'height' => '400');
                    echo form_fckeditor($data);
                ?>
                </td>
            </tr>
<tr><td><input type="submit" name="submit"  style="border:0; width: 160px;height: 30px;background: url(<?php echo base_url();?>assets/admin/images/ajouter.png);"  value=" " alt="Submit"></td></tr>
</table>
</form>
</div>

</div>
